home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
assemblr
/
library
/
slowdown
/
cdtrap.do2
< prev
next >
Wrap
Text File
|
1989-08-06
|
1KB
|
45 lines
CDTRAP.COM -- Carrier Loss Trap for PClones 18 Sep 87
Tom Jennings
Fido Software
164 Shipley
San Francisco CA 94107
CDTRAP is a program used to monitor the modem while
"outside" the Fido system, and reboot the system if carrier
is lost.
The assumption here is that you are using Fido's O)utside or
E)xitDOS command for sysop-only access to DOS commands.
Without CDTRAP or a similar program, if you were
disconnected for some reason, your computer would
mindlessly wait for the next command, but since Fido is no
longer in control it would sit there until you manually
rebooted the machine.
(Previous Fido versions would give the NEXT PERSON WHO
CALLED IN access to your DOS.)
CDTRAP is easy to use: in your batch file (see sample
"RUNFIDO.BAT" on Fido Software's BBS) you install CDTRAP
before you run COMMAND.COM; before you exit to Fido, you un-
install CDTRAP.
CDTRAP ;installs it
CDTRAP R ;removes it
When CDTRAP is run, it first checks to see if was installed
previously; if so, it turns that previous copy "ON" or "OFF"
as indicated. Only if there is no CDTRAP resident does it
install itself in memory.
CDTRAP as supplied inserts itself into the PClones timer
tick, and monitors the modem status port of COM1 every tick,
or 55mS. If carrier is lost it causes the system to reboot.
To use CDTRAP with COM2, or a non-PClone machine, you will
need to edit and reassemble the program.